<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MemberLogin.aspx.cs" Inherits="MemberLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Barcode Gen</title>
    <link rel="stylesheet" type="text/css" href="~/App_Themes/Default/Default.css" />
</head>
<body style="background-color: White">
    <form id="form2" runat="server">
        <asp:Panel ID="Panel3" runat="server" Style="z-index: 1099; left: 12px; position: absolute;
            top: 0px;" BackColor="White" CssClass="nospace" Height="490px" Width="803px">
            <br />
            <br />
            <br />
            <br />
            <div align="center">
                <asp:Login ID="Login1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderStyle="Solid"
                    BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" RememberMeSet="True"
                    BorderPadding="4" ForeColor="#333333" OnAuthenticate="Login1_Authenticate" OnLoginError="Login1_LoginError"
                    DestinationPageUrl="~/Admin/Default.aspx" MembershipProvider="AspNetSqlMembershipProvider">
                    <TitleTextStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" Font-Size="0.9em" />
                    <LayoutTemplate>
                        <table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse">
                            <tr>
                                <td align="center" rowspan="3" style="padding: 15px; font-weight: bold; color: white;
                                    background-color: Navy">
                                    Log In
                                </td>
                                <td style="width: 8px;">
                                </td>
                                <td align="right">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" TabIndex="1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                </td>
                                <td align="center" rowspan="3" style="padding: 15px;">
                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="Login1"
                                        TabIndex="4" />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 8px;">
                                </td>
                                <td align="right">
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" TabIndex="2"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 8px;">
                                </td>
                                <td colspan="2">
                                    <br />
                                    <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." TabIndex="3" />
                                    <br />
                                    </td>
                                    <br />
                            </tr>
                        </table>
                                    <asp:LinkButton ID="LinkButton1"  runat="server" PostBackUrl="~/PasswordRecovery.aspx">Forgot Password?</asp:LinkButton>
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                            ValidationGroup="Login1" ShowSummary="False" />
                    </LayoutTemplate>
                    <TextBoxStyle Font-Size="0.8em" />
                    <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                        Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                    <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                </asp:Login>
            </div>
            <br />
        </asp:Panel>
    </form>
</body>
</html>
